package com.xia.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

//Configuration这是spring的配置类
@Configuration
//ComponentScan指定扫描包 @
//@ComponentScan("com.xia")
@ComponentScan({"com.xia.dao","com.xia.service"})
public class SpringConfig {

}
